package com.gipson.amc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gipson.amc.entity.PageByDataTable;
import com.gipson.amc.entity.UserPostGroup;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户和岗位关联表 Mapper 接口
 * </p>
 *
 * @author cjw
 * @since 2020-05-21
 */
public interface UserPostGroupMapper extends BaseMapper<UserPostGroup> {

    IPage<UserPostGroup> queryPageData(Page<UserPostGroup> page, @Param("userPostGroup") UserPostGroup userPostGroup , @Param("pageByDataTable") PageByDataTable pageByDataTable);

	void deleteByUserIds(@Param("userIds") String[] userIds);
}
